﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.IO;
using System.IO.IsolatedStorage;
using System.Threading;
using System.Globalization;
using System.Security.Permissions;
using Microsoft.Win32;
using System.Text;

namespace RESP_IIWaterAssessment
{
    [IsolatedStorageFilePermission(SecurityAction.Demand)]
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        /// 

        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (UtilClass.ReadOrCreateLangInfo())
                Thread.CurrentThread.CurrentUICulture = new CultureInfo("");
            else
                Thread.CurrentThread.CurrentUICulture = new CultureInfo("uz-Cyrl-UZ");
                Application.Run(new MainForm());

        }

    }
}
